package com.ziyun.erp.common.e.supp;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * @author gaosheng
 * @date 2018-09-07 16:00
 */
public enum MerchantTypeEnum implements BaseEnum{

    MERCHANT("0", "商户"),
    FACTORY("1", "工厂"),
//    merchant("2", "商户和工厂"),
    ;

    private String code;
    private String describe;

    MerchantTypeEnum(String code, String describe){
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }

}
